/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import url('../../styles/variables.less');

.team-list-container {
  .ant-btn {
    border-radius: 4px;
  }
}

.teams-list-table,
.list-table {
  .ant-table-row .ant-table-cell:first-child,
  .ant-table-thead .ant-table-cell:first-child {
    padding-left: 16px;
  }
}

.remove-icon {
  .ant-btn {
    height: 22px;
    width: 22px;
  }
}

.roles-and-policy {
  > .ant-space-item:first-child {
    align-self: flex-end;
  }
}

.teams-list-table {
  .ant-table-thead {
    tr > th {
      border-right: 0px !important;
      border-bottom: 1px solid @border-color;
    }
  }
  .ant-table-bordered {
    .ant-table-container .ant-table-content table tbody {
      tr {
        td {
          border-right: none;
          background: @body-bg-color;
        }
        .ant-table-cell-row-hover {
          background: @body-dark-bg-color;
        }
      }
      .ant-table-row-level-0 {
        td {
          background: @white;
        }
        .ant-table-cell-row-hover {
          background: @body-dark-bg-color;
        }
      }

      .drop-over-upward {
        td {
          background: @active-color;
        }
      }
    }
  }
}
